Rent to Buy

Hi, Im new at real estate and I been watching the edge dvds and really like how this deals work. You find foreclosures you offer ur services and done but my question is, Who deducts the real estate taxes n insurance on their tax return? I know the loan is still on the sellers name but what do you do when the renter/buyer asks this type of questions? And is this legal to do it in california?