renamed cancelUrl to redirectUrl and allow setting of redirect via get