Clearing caches on logout