Converted the resource_owner_id to an uid