various routings and loading of pages done