sending requests to the server