connection being made to database