remove registerForm method