able to get the id of the selected repo