Added configuration setting for session lifetime