Changed load page to load handler