database authentication + configs