Store users, locations and friendships in server side database.