what is the purpose of the network security authentication function