       res.locals.author = author
       res.locals.sd.USER = author.toJSON()
     complete: -> next()
-
 
 isAdmin = (user) ->
   _.find sd.ADMIN_SLUGS?.split(','), (slug) -> slug is user?.get('slug')

      per: 2,
      perBlocks: 3
      page: 1
      q: req.query.q
      sort: sort
  
  graphQL send
    .then (response) ->
      res.locals.sd.QUERY = req.query.q


  Q.all [
    channels.fetchUntilEnd data: auth_token: req.user?.get('authentication_token')
  ]
  .then ([response, focus]) ->  
    alpha = res.locals.sd.ALPHA = channels.groupByAlpha()
    res.render 'alpha',
      alpha: alpha
