Change REST interface for friends to use user IDs

POST requests use ids of the User models instead of usernames now