function needConfigObj(cb) {
    models.Config.countDocuments(function (err, res) {
        if (err)
            throw err;
        if (res === 0) {