split session-bundled-related methods to their own file