Created constructor for DB credentials.