text: var controllers = require( "./controllers" );
  var mid = require( "./middleware" );
  
  var router = function( app )
  {
      app.get( "/login", mid.requiresSecure, mid.requiresLogout, controllers.Account.loginPage );
      app.post( "/login", mid.requiresSecure, mid.requiresLogout, controllers.Account.login );
      
      app.get( "/signup", mid.requiresSecure, mid.requiresLogout, controllers.Account.signupPage );
      app.post( "/signup", mid.requiresSecure, mid.requiresLogout, controllers.Account.signup );
      
      app.get( "/logout", mid.requiresLogin, controllers.Account.logout );
      app.get( "/maker", mid.requiresLogin, controllers.Domo.makerPage );
      app.post( "/maker", mid.requiresLogin, controllers.Domo.make );
      
      app.get( "/recent", mid.requiresLogin, controllers.Domo.recentPage );
      //app.post( "/recent", mid.requiresLogin, controllers.Domo.recentPage );
      
      app.get( "/", mid.requiresSecure, mid.requiresLogout, controllers.Account.loginPage );
  };
  
  module.exports = router;