Extended the feature for sign out.