the responsibility of checking whether a user is a friend or not is now handled by the User class