working adminsettings for database with singleton connection factory