web service connected to db