private static void CheckUsernameAvailabilityInPendingList(string usernameCheck, string passphraseCheck) { var _text = new DataToTextFile(); string pendingUsernameCheck = _text.GetPendingUsername(); if (pendingUsernameCheck == $"username: {usernameCheck}") { print.QuasarScreen("Not Registered"); print.ColoredText("\r\nYour Account Request is Pending. Please wait for the administrator to grant you access.\n\nPress any key to return to Login Screen", ConsoleColor.DarkGreen); } else { _text.NewUsernameRequestToList(usernameCheck, passphraseCheck); print.QuasarScreen("Not Registered"); print.ColoredText("\r\nNew account request is registered. Please wait for the administrator to grant you access.\n\nPress any key to return to Login Screen", ConsoleColor.DarkGreen); } Console.ReadKey(); ApplicationMenu.LoginScreen(); }