changed publish_event_id check to session instead of offering