ajax checks for personel