adds support for external db
hide creds