Added domain basic principal
Merge branch 'master' of https://github.com/nablex/resources-api