creating main page