add authentication sample