made a shared views folder with the errors message and linked it into the partials