added some server code for mobile application