else { console.info('Running app as a module') exports.boot = boot; We do this by having a login form and processing the POST request from that form..