addded auth sample