Edit automatic logout