Thank you page is shown in place of form once it gets submitted