Generation and maintenance of human memory cells during viral infection