refactor admins view