added session to getDataThresholds