flash message implemented on layout
flash message implemented on controllers