Essays on consumer credit markets