Add the second page in the main function