add support for custom session lifetime values