Change user variable to global so we can pass it to the redered errors
page.
Add shared views folder and include partial to render errors.