Fix bug: Render reports even if user attributes are not defined. Refactor into partial as well