register page and controller