Added support for user listing and querying.