index page now serves as register page