categorize user repositories by owner and fix some bugs