added configuration for postgres