protected static void removeContact(UserID user, Scanner scan) { System.out.println("Please enter username of the user you want to remove: "); String username = scan.next(); if (user.removeContact(username)) { System.out.println("Remove was successful."); } else { System.out.println("Cannot remove contact, check make sure username is correct"); } }