Replace connect-flash with express-flash
Make flash messages available to every view
Split the view into partials