Added Input Verification

Now has a regular expression to check if the input is a valid date
before processing requests