add pages templates lazy loading