validating url routing