finished getContacts() method of the User class