refactor admin home page using relationship
meeeeeeeeeerge