communication working from client to server