added authenticated to publish route