remove some debug code, enabled active login replication