Three Essays on Financial Institutions and Real Estate