basic register page working