public IActionResult Login(Profile profile) { if (profileContext.GetCollection().Count() > 0) { if (profileContext.CheckIfReturningUser(profile)) { return(RedirectToAction("Index", "Game", profile)); } else { return(RedirectToAction("Login")); } } else { return(RedirectToAction("Signup")); } }