Updated UserFriendship functionality.