         console.log err.stack
         setCORS res
         res.status(err.status || 500).send({ message: err.err || err.errmsg })
-        
+
       .done()
 
   app.use /^((?!\/auth|\/user).)*$/, (req, res, next) ->



# class User
#   Task: class 
#     constructor: (@user) ->
#     description: "New"
#     log: -> l @user
# 
#   tasks: (q) ->
#     a = new @Task
#     a.log()
# 
# 
# 
# me = new User
# me.name = "Me";
# 
# you = new User
# you.name = "You";
# 
# me.tasks {a:1}
# you.tasks {}


    .get (req, res) ->
      if req.user
        respond res, Q.when(req.user)
      else
        p = Q.defer()
        p.reject({ status: 404 })
        respond res, p.promise
