public function loginViewHTML()
 {
     //create the view class with the form submision endpoint
     $loginView = new LoginView(self::FORMSUBMITENDPOINT);
     /*
     	just like in the register function , I can see if the user just tried to login and failed if loginErrorMessage is not equal to ""
     	,if he did I can get his email address from the $_POST
     */
     $presetEmail = "";
     if ($this->loginErrorMessage != "") {
         //Im going to double check that we actually have the $_POST variable just incase
         if (isset($_POST[LOGINEMAIL])) {
             $presetEmail = $_POST[LOGINEMAIL];
         }
     }
     $loginView->HTML($presetEmail, $this->loginErrorMessage);
 }