implemented search_for_friends feature