Added the flash message to the application layout