move auto refresh from layout to home index page