public ActionResult AccountDetails()
        {
            var user = myAccountLogic.GetUser(HttpContext.User.Identity.Name);

            var userModel = new UserModel
            {
                Name = user.Name,
                Email = user.Email,
                City = user.City,
                Address = user.Address,
                Surname = user.Surname,
                ZipCode = user.ZipCode
            };

            return View(userModel);
        }
 public ActionResult UpdateAccountDetails(UserModel model)
 {
     UserRepository.Update(User.Identity.Name, model.Name, model.Surname, model.Email, model.Address, model.City,
         model.ZipCode);
     return RedirectToAction("AccountDetails");
 }