Essays On The U.S. Housing Market And The Credit Market