Added tests for events array in candidate schema.
Added mongoose-id-validator to package.json and edited the event and candidate schemas to use new methods discovered.
Added new features for the fields that use arrays in the User schema and added tests for them.