added config credentials to dbconnection