Autorefresh of main page.