added authorization relationship type
update API with relationship methods
tweak IdentityManager methods
Temporarily fixing compilation errors.