added form validation for title and date, date also now only allows years 17 years before the current date - since no user will ever be under 18 years of age