Added DB access to system settings