Improving client to server's communication