on login success, clear history