Tax loopholes for homeowners