create some function for sending request to server. empty until the protocol is set up