public ActionResult SignUp(string name, string password, string phone, string email) { var mgr = new UserAuthRepository(); string onlyNumericNumber = Regex.Replace(phone, @"[^0-9]", ""); User u = mgr.AddUser(name, password, onlyNumericNumber, email); //EmailManager em = new EmailManager(); //em.SendWelcomeEmail(name, email); SMSManager SMS = new SMSManager(); string message = "Welcome to Expiration Tracking App! You've officially take the first step torward the pleasure of sitting back knowing your expiration dates are handled. - Happy Tracking ;)"; SMS.Notification(u.PhoneNumber, message); FormsAuthentication.SetAuthCookie(u.Id.ToString(), true); return(RedirectToAction("index", "portal")); }