public bool UserExists(List<string> current_users, string new_user) { for (int counter = 0; counter < current_users.Count; counter++) if (current_users[counter].ToLower() == new_user.ToLower()) return true; return false; }