Add mac address authentication

Add mac address authentication