public ActionResult ResetPassword(ResetPasswordModel model)
        {
            bool success = WebSecurity.ResetPassword(model.ResetToken, model.Password);

            TempData["Message"] = success ? "Your password was reset successfully! You can login with your new password now."
                                      : "Sorry, the system could not reset your password. Incorrect token.";

            return RedirectToAction("Index", "Home");
        }
 public ActionResult ResetPassword(string id)
 {
     var model = new ResetPasswordModel { ResetToken = id};
     return View(model);
 }