Added ThanksHandler for redirecting to thanks page