Registration form handling