Added functionality to accept friend requests.