The server side code for a Social Golf App