Moved Passport initialisation files to session.js
Once a new user successfully registers, they are now logged in
Added registration form to index view
Added functionality to redirect user profile to correct capitalisation
Implemented connect-flash to allow us to use an old Express flash() function
Added a function to redirect to a page and display a message
Added red error message on index page
Added proper redirects and error messages into registration function
Cleaned up some code and added/changed some comments
Added some more comments
Added/change some more comments
Changed spacing in places before require()
Added seperate views for registration/login
Modified code to represent new registration/login views
Changed location of user views from a 'session' to 'user' folder
Added a new 'render' file to handle rendering of views
Changed routes to reflect new render file changes
Updated password policy to allow a length between 4 and infinity
Added dashboard.jade file for when a user is logged in
Now a user is only able to logout if they're logged in