communication between app and server

finished implementing communication between app and server