public ActionResult CheckPoint()
 {
     var model = new AuthViewModel();
     if (model.IsInitialized())
         return RedirectToAction("login");
     return View(model);
 }
 public ActionResult Login()
 {
     var model = new AuthViewModel();
     if (!model.IsInitialized())
         return RedirectToAction("checkpoint");
     if (Request.IsAuthenticated)
         return RedirectToAction("index", "dashboard");
     return View();
 }