Moved flash and welcome message view code into partials