Removed an error messages that always appeared when a device was unregistered
Ensure a device is logged in before sending a notification to it