add checks for whether the uri or DATABASE_URI exists