fixed push notification

Error when configuration is not setting properly for sending push
notification and when is sending push notifications and user not exists.