linked socket.io to index.js file