added remote db connection