Who Has to Sign the Mortgage Documents?

One of the most common sources of confusion at closing seems to be who must sign the mortgage docs. It seems to befuddle even experienced closers of title companies and title agencies. Does the Deed have to match the Mortgage and does the Mortgage have to match the...