Modify to remove all preference data in case of sign out