add chat_server.js and move the mistakes into that file ( put wrong into server.js )