finish implement the config page