modified:   app.js; added initial socket.io functionality