Added page load controller