public ActionResult RetrievePassword(RetrievePasswordFromTokenModel model)
 {
     try
     {
         if (WebSecurity.ResetPassword(model.Token, model.Password))
             return View(model);
         else
             throw new Exception("Error reseting the password");
     }
     catch (Exception e)
     {
         throw new Exception("Error reseting the password");
     }
 }
 public ActionResult RetrievePassword(String id)
 {
     var model = new RetrievePasswordFromTokenModel()
     {
         Token = id
     };
     return View(model);
 }