Add client.emit to app.js and socket.on