text: var bcrypt = require('bcrypt'),
      db = require('../db'),
      user_functions = require('../user_functions'),
      users = new (require('../dbs/users'))(),
      setupdb = new db({key: 'setup', collection_name: 'setup'});
  
  module.exports = {
    get: function(req, res) {
    },
    post: function(req, res) {
      var un = req.body.username;
      var pw = req.body.password;
      var email = req.body.email;
  
      setupdb.get('0', function(err, setup) {
        if (!err && setup) {
          res.send(403);
        } else if (!err) {
          setupdb.save('0', {'setup':'0', 'updated': new Date().getTime()});
          user_functions.genUser({username: un, password: pw, email: email, authorized: true});
        } else {
          console.log(err);
          res.send(500);
        }
      });
    }
  }
  