setting main page