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

router.get('/', function(req,res) {

  res.redirect('/artists');

});

module.exports = router;

@@ -99,10 +99,30 @@
 ) %7B%0A
-%0A
  
+ if(req.session.user)
  res
@@ -144,16 +144,42 @@
 ists');%0A
+  else res.render('home');
 %0A%7D);%0A%0Amo

Adding 'home' route