Tinkering with Socket.IO

-Moved database query from routes into a socket in app.js