custom middleware
put logged user in 'res.locals' variable: session
put some logged user data in layout page
deserialize user (req.user) without salt and hashPassword
improving user model
update layout with new user model improvements
displaying error messages in login page
style error message in login page
authorization middleware
authorize home page