Add registerForm method