Resident viruses and their interactions with the immune system