add  a  function about validate  client  by  mac