fix registration redirect url