protected void userLogin_Authenticate(object sender, AuthenticateEventArgs e) { // Sends Login info to the data class and returns a result loggedInUserId = CustomerDB.AuthenticateLogin(userLogin); if (!(loggedInUserId is null)) { e.Authenticated = true; }