Date is casted from string to date object in addVaccination function.