public ActionResult ResetConfirm(ResetPasswordModel model)
        {
            if (ModelState.IsValid)
            {
                bool resetSuccess;
                try
                {
                    resetSuccess = WebSecurity.ResetPassword(model.ResetToken, model.NewPassword);
                }
                catch
                {
                    resetSuccess = false;
                }
                if (!resetSuccess)
                {
                    ModelState.AddModelError("Error resetting password", "There was an error resetting your password, please try again.");
                    return View(model);
                }

                return RedirectToAction("Index", "Home");
            }
            else
            {
                return View(model);
            }
        }
        public ActionResult ResetConfirm(string resetToken)
        {
            ViewBag.reset = resetToken;

            ResetPasswordModel m = new ResetPasswordModel() { ResetToken = resetToken };
            return View(m);
        }