var callisto = require('callisto');
var users = require('./lib/users.js');
var sqlite3 = require('sqlite3').verbose();
var db = new sqlite3.Database('database.db3');

callisto.server({
    port: 8090,
    root: 'www'
});

callisto.addModule('users', users);
@@ -112,20 +112,23 @@
 bose();%0A
-var 
+global.
 db = new
@@ -159,24 +159,25 @@
 ase.db3');%0A%0A
+%0A
 callisto.ser

Add db to the global variables