Add logic to find active repositories based on distinct users