Added error message if you enter a date in the future