public function verifyAction()
 {
     $this->view->headTitle("Registration Process");
     //Retrieve key from url
     $registrationKey = $this->getRequest()->getParam('key');
     //Identitfy the user associated with the key
     $user = new Default_Model_User();
     //Determine is user already confirm
     if ($user->isUserConfirmed($registrationKey)) {
         $this->view->isConfirmed = 1;
         $this->view->errors[] = "User is already confirmed";
         return;
     }
     $resultRow = $user->getUserByRegkey($registrationKey);
     //If the user has been located, set the confirmed column.
     if (count($resultRow)) {
         $resultRow->confirmed = 1;
         $resultRow->save();
         $this->view->success = 1;
         $this->view->firstName = $resultRow->first_name;
     } else {
         $this->view->errors[] = "Unable to locate registration key";
     }
 }