main page setting