validates url form