Adding start and end date to years
getMonths added startDate and end date
Adding logic for filterCollection