Update collection acquisition in user API.
Add missing import for URI.