fix AJAX request on user friendship.