Forgot Password Changes

This all should work but may need to be tested a tiny bit more everything worked for me but still.
this header redirect dosent seem to be working nore does the one 2 lines below this, not a problem on the confirm page but when using the deny link it redirects to {domain.tld}/api/forgot_password.php instead of {domain.tld}/forgot_password.php