Clearing cache in logout