readding flash to base.html