add validation for date user input