module.exports = {
  bind : function (app) {

    app.get('/', function (req, res) {
      console.log("Clearing the session.")
      delete req.session
      res.render('index');
    });

    app.get('/examples/template-data', function (req, res) {
      res.render('examples/template-data', { 'name' : 'Foo' });
    });


    app.post('/start-flow', function(req, res) {
      res.redirect('/service-before');
    });
    // add your routes here

  }
};

@@ -1,8 +1,101 @@
+function clear_session(req) %7B%0A  console.log(%22Clearing the session.%22)%0A  delete req.session%0A%7D%0A%0A
 module.e
@@ -182,68 +182,132 @@
    c
-onsole.log(%22Clearing the 
+lear_
 session
-.%22)
+(req);
 %0A      
-delete req.
+res.render('index');%0A    %7D);%0A%0A    app.get('/index', function (req, res) %7B%0A      clear_
 session
+(req);
 %0A   
@@ -331,32 +331,33 @@
 dex');%0A    %7D);%0A%0A
+%0A
     app.get('/ex

Clear the session on accessing the index page too.