URL logic applied to add view