private static User UserLogin(Users usrs) { User currUser = null; do { // Prompt for user input Console.WriteLine(); Console.WriteLine("Enter Username:"******"You entered an invalid user."; // Invalid User ShowErrMsg(errText); } // if valid user if (valUsr) { // Prompt for user input Console.WriteLine("Enter Password:"******"You entered an invalid password."; // Invalid Password ShowErrMsg(errText); } } } while(currUser == null); return currUser; }