added sql connection