switch to user objects for api response