Added communication with server.