use Uri class to do string/uri comparisons