add method to compare url with current