AddFriend now works via Ajax. This means the page does not need to be
reloaded when the user clicks the "Add Friend" button. Instead, the
request is generated asynchronously in the background.