add flash variable to application layout