Load application at page load