server: when adding notifications with UID, check that UID didn't
already exist