adding site managment to acp, rework some code