added console logging of chat messages to client