now using confighelper class for getting db credentials