Modified the UserService to use the EntityRepresentations and EntitySetRepresentations.