modifying session loadFromStorage for queryCache