public ActionResult Rights_User_SetPassword(SetUserPasswordViewModel model)
        {
            ModelState state = ModelState["NewPassword"];

            if (ModelState.IsValid)
            {
                var userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(_identityDb));
                userManager.UserValidator = new UserValidator<ApplicationUser>(userManager) { AllowOnlyAlphanumericUserNames = false };
                
                var result2 = userManager.RemovePassword(model.userId);
                var result = userManager.AddPassword(model.userId, model.NewPassword);
                return RedirectToAction("Rights");
            }

            return View();
        }
        public ActionResult Rights_User_SetPassword(String id)
        {
            SetUserPasswordViewModel model = new SetUserPasswordViewModel { userId = id };

            return View(model);
        }