Moved GetUserSetting method to Controller class