created main page