Call publish fn (runs queries but not finished)

Also made all datasets.php fns not take user_id,
instead they always get it from $_SESSION