Added flash messages to application layout