defonce db and conn