Home Sale

How does Turbo Tax reflect the $500,00.00 credit for selling a home. Also, where in Turbo Tax do I deduct the loan payoff?