/**
 Called: after the user hits the 'Sign In' button
 Routes to: Index if invalid or Project if valid
 **/
 //[HttpPost]
 public ActionResult SignIn(Account user)
 {
     ConfirmedUser = user.Verify(user);
     ViewData["isValid"] = ConfirmedUser.Rank;
     ViewData["Email"] = ConfirmedUser.ConfirmEmail;
     if (ConfirmedUser.Rank != "Fail" && ConfirmedUser.ConfirmEmail == true)
     {
         return RedirectToAction("ExistingProjects", "Project", user);
     }
     else{return View("Index");}
 }
 /**
 Called: after the user hits the 'Sign Up' button at the end of the sign up form
 Routes to: itself if form was filled out incorrectly, emailconfirationpage if was filled out correctly
    **/
 public ActionResult Resend(Account PossibleUser)
 {
     ConfirmedUser = PossibleUser.Verify(PossibleUser);
     ConfirmedUser.sendEmail(ConfirmedUser.Email,ConfirmedUser.UserName);
     return View("EmailConfirmationPage");
 }