client to server communication