Added urlencode for collection names

added urlencode for better links