added some logging from the client to the server