Implemented communication with server