enabled both layouts to display flash messages using a html partial