Add flash messages to application template