Make session_length configurable