public ActionResult Login(VMLoginUser user)
 {
     if (ModelState.IsValid)
     {
         if (WebSecurity.Login(user.Email, user.Password))
         {
             return RedirectToAction("Index", "Home");
         }
         else
         {
             return View(user);
         }
     }
     return View(user);
 }
 public ActionResult Login(VMLoginUser user)
 {
     if (ModelState.IsValid)
     {
         if (System.Web.Security.Roles.GetRolesForUser(user.Email).Contains("Banned"))
         {
             string failure = "Your account is currently banned";
             VMGeneralMessage message = new VMGeneralMessage("Banned", "Account Banned", new string[] { failure });
             return View("GeneralMessage", message);
         }
         if (WebSecurity.Login(user.Email, user.Password))
         {
             return RedirectToAction("Index", "Home");
         }
         else
         {
             return View(user);
         }
     }
     return View(user);
 }