removed code related to special group flags (@online@ and @all@)
removed unused group enabled/disabled checks and some 'online users' stuff
updated queries to harbor-specific and made it actually work.