added in the server stuff to the client