     else res.send('Access Forbidden', 403)
 
   # Simplest possible way to serialize and deserialize a user.
-  passport.serializeUser( (user, done) ->
+  passport.serializeUser (user, done) ->
     done(null, user.id)
-  )
-
-  passport.deserializeUser( (id, done) ->
+
+  passport.deserializeUser (id, done) ->
     done(null, {id})
-  )
 
   # Tell passport to use the OpenID strategy. And establish
   # owner as the test of id.
-  passport.use(new OpenIDstrat({
+  passport.use new OpenIDstrat {
     returnURL: "#{argv.u}/login/openid/complete"
     realm: "#{argv.u}"
     identifierField: 'identifier'
   },
-  ((id, done) ->
+  (id, done) ->
     loga id, done
-    process.nextTick( ->
+    process.nextTick ->
       if owner
         if id is owner
           done(null, {id})

  echoSocket     = new WebSocketServer({server: app, path: '/system/echo'})
  logWatchSocket = new WebSocketServer({server: app, path: '/system/logwatch'})
  counterSocket  = new WebSocketServer({server: app, path: '/system/counter'})
  echoSocket.on('connection', (ws) ->
    ws.on('message', (message) ->
      log 'socktest message from client:', message
      ws.send message, (e) ->
        if e
          log 'unable to send ws message:', e
          return
    )
  )
  logWatchSocket.on('connection', (ws) ->
    logWatchSocket.on('fetch', fetchListener = (page) ->
      reference =
        title: page.title
        listeners: logWatchSocket.listeners('fetch').length

          cb())
      else
        cb()

  #### Middleware ####
  #
