expose session resumed state to modules