add ability to register a route by passing in actual query string