Hide buttons if no adminhostmanager

Important fix.

This contains commits from #767 since this builds on this.