adding socket.io portion to app.js