add authenticate example