Checking user role to determine if add repository link is visible