removed pending friend requests as class method of friend request and moved to user