add flash messages to appliction layout