Added flash alerts to application layout