Updated populateRoles to create the list element