Adds flash messages
Adds SSL in production