redesign admin site and added base class