moved flash messages to base.html as well