module.exports = {

  index: function(req, res, next){
    res.render('index');
  }

};

module.exports = {

  index: function(req, res, next){
    res.render('index', {user: req.user ? req.user.email : null});
  }

};

Send user email if logged in
Send user email if logged in
