Refactor and bootstrap thankyou page