Updated api.php to not use MAC-ID