clears cache when signing out