moved settings, admin settings to appdelegate