change how to specify redirect url