added APNSDevice registration_id validation