title: Error: req.flash() requires sessions
body: <p>I'm new to node and I'm pretty sure I've set up the middle ware and express to use flash messaging however I still get the error:</p>
  
  <p><code>Error: req.flash() requires sessions</code></p>
  
  <p><strong>Setup</strong></p>
  
  <pre><code>//express.js
       var flash = require('connect-flash')
  
       module.exports = function (app, config, passport) {
           app.use(flash());
       };
  
  //route js
       exports.loginGet = function (req, res) {
         res.render('users/login', {
           title: 'Login',
           message: req.flash('error') //error in question
         });
       };
  </code></pre>
  
  <p>What else can I do to make sure I have everything set up correctly and get it working?</p>