Change redirect path after send code to homepage