added full path for templates, makes the code more readable and the template path is not working as expected