added input field for registration code