End main page