refactor api call for directory
show group logo