Added custom template and layouth path.