change api method to fetch private repositories