added 127.0.0.1 to allowed hosts in nginx.conf
refactoring out label-list-component and updated label count to include children labels