adding url validation