example how to auth