private async Task <ApplicationUser> AuthenticateUser() { // For demonstration purposes, authenticate a user // with a static email address. Ignore the password. // Assume that checking the database takes 500ms await Task.Delay(500); if (Input.Email == "*****@*****.**") { _logInService.Test(); return(new ApplicationUser() { Email = "*****@*****.**", FullName = "Maria Rodriguez" }); } else { return(null); } }