public ActionResult SignUp(UserSignUpViewModel USV) { if (ModelState.IsValid) { if (!_userManager.IsLoginNameExist(USV.LoginName)) { _userManager.AddUserAccount(USV); FormsAuthentication.SetAuthCookie(USV.FirstName, false); return(RedirectToAction("Welcome", "Home")); } else { ModelState.AddModelError("", "Login Name already taken."); } } return(View()); }