cli option for listing query based on user or query status

Also a random user