How to redirect users to thank you page and then back to the form