Security logout minor fix