Added dynamically loading of pages