added date validation with gem date-validator