Created a searchRepos function in the Network Controller