Add domain object User to API #626

solves #626.