Session expiriration works, fixed caching issue