fixing build failure with wrong dependencies - user.api, registry.api