Would be nicer to use ```res.render```, and then the setup for this is done using the app, and the knowledge of the views isn't required in this part of the code. But in order to get ```res.render('login')``` to work properly, I'm not getting the correct set up steps, I'm sure I'm missing something obvious, but google/tutorials are failing me...
```
app.set('views', __dirname + '/public');
app.set('view engine', 'html');
```
when specifying the view engine to render the views as html, html is a module I need? so should it be ```app.set('view engine', require('html'));``` and add the html dependancy to the package.json? This could be rambling, Ive been working on this problem for too long that I think I've made myself more confused...