Licensing of insurance agents