Added url validation