code: def root(self) -> FlaskResponse:
      user = g.user if hasattr(g, "user") and g.user else None
      if (
          not user
          or security_manager.is_guest_user(user)
          or user.is_anonymous
      ):
          abort(404)
      return super().render_app_template()
  
file_path: superset/superset/views/profile.py
imports: from flask import abort, g
  from flask_appbuilder import permission_name
  from flask_appbuilder.api import expose
  from flask_appbuilder.security.decorators import has_access
  from superset import event_logger, security_manager
  from superset.superset_typing import FlaskResponse
  from .base import BaseSupersetView
label_desc: Use image node_id 1 for calling the ProfileView obj's underlying member method code with example usage: obj.root() and returns: super