added some configuration for db connection