How to validate date to avoid double booking?