updating to work with latest expressjs and socket.io