initial loading of  pages