added redirect page (/thanks) for valid input