added get_friends_list wraper function to make code more clear