Added mongoose-id-validator to package.json and edited the event and candidate schemas to use new methods discovered.