Three essays on deposit insurance, initial public offerings, and shadow banks