moved header, flash, and footer into partials