#1 added authentication function
#1 added authentication function
#1 added authentication function