add example for authentication