remove the register form