added AdminLogic class, mostly stub code