rework admin.php