adds deregister agent