update error page + add base url to views