db and app settings