Sorted out the sign-out feature.