add support for URL redirects and multiple backend providers