added one example to loadPage. Still has issue with pageinit