         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) ->

db.open (err,db) ->
  if err
    console.error "Can't connect!"
  db.authenticate config.db.username, config.db.password, () ->
    if err
      console.error "Can't authenticate!"



# 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 {}

