clear anchor on login