adds secure path for /events