A simple social application using JSON and mySQL