settings page not actually works

added code for settings page to work