Implement communication with server