The client and server interaction