Added flash data on page load