How to protect yourself when putting your home on the market