more work on chat_server.js