changed config view to inject db credentials