initial support for the redirect url