implement hierarchy, added manager page