register page handler