WIP: definition of a session manager and interceptor definition.