Moved header and flash messages from layout to shared partials.