Updated for new database API
Credentials