added getter and setter functions and implemented part of settingsscreen