public static bool IsLoggedIn() { if (CurrentUser.Name == null) { Console.WriteLine("You are not logged in."); return false; } return true; }