Auto registration of agent account