changed the html input file to a date input