added redirect url logging