simplify configurable session length settings.