updated app.js and websockets, testing rooms functionality