Updated admin.php, removed bugs