not done with url validation function but started.