added query duration at user level