added progress bar for queries from users