var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'gdot' })
})

router.get('/logout', function(req, res, next) {
  req.logout() // Removes req.user
  res.locals.user = null // It seems we have to do this too. Weird.
  res.render('index', { title: 'gdot' })
})

module.exports = router;

@@ -284,46 +284,84 @@
  // 
-I
+Since we pu
 t 
+u
 se
-ems we have to do this too. Weird
+r into locals when they logged in, we have to remove it here
 .%0A  

Update comment.