common url validation methods
