export SessionState and getSessionState