refacter admin menu