add templates and url configuration on chapter 3