let router = require('express')(); let path = require('path'); let view = require('./view.js'); router.get('/', function(request, response) { view.render('home', {id: request.user.id}, response); }); module.exports = router;