       resp.end()
     null)
 
-app = server.listen(8000)
+app = server.listen(8080)
 faye.attach(app)

## Routes

_slideshowRedirect = (service, req, resp) ->
  console.log("====")
  console.log("Authenticated Successfuly with", service)
  console.log(req.user)
  console.log("====")
  resp.redirect("/slideshow/")
  resp.end()
  null

## Faye Config

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

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