public function btnLogin_click($strFormId, $strControlId, $strActionParam)
 {
     $strEmail = $this->txtEmail->Text;
     $strPassword = $this->txtPassword->Text;
     $blnSuccess = YBAuthDriver::Authenticate($strEmail, $strPassword);
     if ($blnSuccess) {
     } else {
         if (eregi('^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\\.[a-zA-Z.]{2,5}$', $strEmail) && strlen($strPassword) >= 6) {
             $objUser = YBAuthDriver::CreateUser($strEmail, $strPassword, 1, UserTypeCdTpcd::RecUser);
             $blnSuccess = YBAuthDriver::Authenticate($strEmail, $strPassword);
         } else {
             $this->pnlError->Text = 'Please enter in a valid email and a password longer than 6 charecters long';
             return false;
         }
         if (!$blnSuccess) {
             $this->pnlError->Text = 'We were unable to create a user account for you at this time';
             return false;
         }
     }
     $this->objForm->SetActiveScreen($this->objForm->scnHome);
 }