finish the first two actions: find license, and then find registration, need more UI (popup, text)support
add comments, clean up useless code