remove the register page