Add auto refresh and retrieve 7 days of data on page load