removed unnecessary get_user_friends function