added a setting for main page