installed socket.io and copied in code for app.js and index.html