re-wrote VerifyRegisterAndUnregisterInSyslog()