page register and index page