CHANGED:applied the FriendRequest implmentation