binding websocket events to the controllers in config/initializers/events.rb