added simple logging to chat_server