Assigned the Page object as variable to the main view