module.exports = function(app) {
  // set up routes
  app.use('/', require('./routes/index'));                      // empty title page
  app.use('/angular_test', require('./routes/angular_test'));   // angular test page
  app.use('/search', require('./routes/search'));               // generic search
  app.use('/mac', require('./routes/mac'));                     // generic mac address search
  app.use('/roaming', require('./routes/roaming'));             // roaming 1 // TODO
  app.use('/inst_roaming', require('./routes/inst_roaming'));   // roaming 2 // TODO
  app.use('/failed_logins', require('./routes/failed_logins')); // TODO
  app.use('/failed_logins_search', require('./routes/failed_logins_search'));   // TODO

  // saml test
  app.use('/test', require('./routes/saml_test'));
  app.use('/login/callback', require('./routes/callback'));
}

@@ -228,24 +228,32 @@
 use('/search
+/generic
 ', require('
@@ -316,16 +316,23 @@
 p.use('/
+search/
 mac', re
@@ -417,16 +417,23 @@
 p.use('/
+search/
 roaming'
@@ -586,32 +586,39 @@
 ODO%0A  app.use('/
+search/
 failed_logins', 
@@ -673,16 +673,24 @@
 p.use('/
+searach/
 failed_l
@@ -758,16 +758,88 @@
 / TODO%0A%0A
+  // TODO%0A  // app.use('/stats', require('./routes/stats'));   // TODO%0A%0A
   // sam

modify routes