Basic url validator functionality