Adding resourcepath and resourceendpoint in default template