change redirection for success register