Communication with server working