added some logging for max session time