added form to take date input