Examples of logging and error handling.
Didn't get Redis store for sessions to work.