Thanks Marc! I just checked in a check for the device token and only calling the raiseRegistration method if the device token exist.