I am successfully able to redirect whenever a user logs in. I am using the Login Response method. But when I am trying to do the same thing for the user, when a user registe