how to generate terms & conditions page