Adding communication with server