implemented clientUser property in resource and relation documents

Closes #89