hooked up the client to the server