improving /rest/user/purchase