Add 'Terms of use' and fix small issues in the template

As title