Render errors on user edit page
Revert: "Not render layout for xhr requests"

It was causing problems with page caching. Some pages were rendering without
layout when accessing the direct url