remove the resources of admin pages