Found error in handleFriendRequest method