add example of authenticated connection