moved client socket logic into assets/js/app.js. Added sails-style model pubsub into user and session controllers.