changes in auth sample