private string GetReturnUrl(string returnUrl) { if (Url.IsLocalUrl(returnUrl)) return returnUrl; return Url.Action("Index", "Home"); }