get config value from DB