redirects to thanks.html when successful