Added lazy loading for pages