The session component doesn't depend on the di container anymore