Add validation for URLs