setup page loading.