 ## Routes
 
 _slideshowRedirect = (service, req, resp) ->
-  console.log("====")
-  console.log("Authenticated Successfuly with", service)
-  console.log(req.user)
-  console.log("====")
+  publish(CHANNEL.clientAuthenticated,
+    provider: service,
+    displayName: req.user.displayName,
+    username: req.user.username,
+    id: req.user.id)
   resp.redirect("/slideshow/")
   resp.end()
   null

MeetupStrategy = require("passport-meetup").Strategy
GoogleStrategy = require("passport-google-oauth").Strategy

################################################################################

redisClient = Redis.createClient()

## Faye Config

faye = new Faye.NodeAdapter(mount: "/faye", timeout: 45)
publish = (args...) -> faye.getClient().publish(args...)

faye.asObservable = (event_type) ->
  subj = new Rx.Subject()
