added registration page and confirmation page