added validation for vanity url