add redirectUrl and bug fixed