remove the register from the login model