implmented models as per latest specification of the blueprint for id to role mapping