Querying update

New example with user management + query function updated to accept
filtering(descending, key, ...)