implemented admin.php methods