added settingspage functionality