first communication with the server