Adds clear on logout.