make sure the manager and session are available when needed