creating main index page