The profile view (`/users/userinfo/`) needs to be moved to FAB auth manager. The profile URL needs to be returned as part of `get_url_account()` as specified in the AIP
from flask import Flask
        from flask_appbuilder import AppBuilder
        from flask_appbuilder.security.mongoengine.manager import SecurityManager
        from flask_mongoengine import MongoEngine
        app = Flask(__name__)
        app.config.from_object('config')
        dbmongo = MongoEngine(app)
        appbuilder = AppBuilder(app, security_manager_class=SecurityManager)
    You can also create everything as an application factory.
    """
    baseviews: list[BaseView | Session] = []
    security_manager_class = None
    
    app = None
    
    session = None
    
    sm: BaseSecurityManager
    
    bm = None
    
    addon_managers: dict
    
    _addon_managers: list
    menu = None
    indexview = None
    static_folder = None
    static_url_path = None
    template_filters = None
    def __init__(