manually setting redirect url