created the main page