create main page view