using host method on NSURL to compare