pc client authentication function added