Quick improvement for logout