Added in paths stuff for matching inbound URL to allowed paths