@classmethod
def user_loader(cls, callback):
    """Decorator to tag a callback as the function returning the user and
        the roots
        """
    cls._load_user_and_roots = staticmethod(callback)
    return callback
