Add auto-refresh on index page

Add an auto refresh to the index page.