Moved !empty($user_contacts) just before 2 newlines