Fixed friend request functionality

Fixed #71