     else
         user_id = parseInt(req.query.user_id)
         api_key = req.query.api_key.toString()
-
+        # Mongo request should be in a model.
         mongo.db.collection('homeagain_users').findOne(
             {
                 user_id: user_id,

app = express()
server = http.createServer(app)
app.set('port', process.env.PORT || 4000)
###
    Require routes.
###

                    res.send 401
            )
### Default 404 middleware ###
# Seems to be buggy on my computer.
#app.use routes.error('Page not found :(', 404)

#Application name.
