code: def includeme(config):
      
      settings = config.registry.settings
      session_factory = SignedCookieSessionFactory(settings['session_key'])
      config.set_session_factory(session_factory)
docs: Configures the session manager