docs: def get_user_token():
      """Return the authenticated user's auth token"""
      if not hasattr(stack.top, 'current_user'):
          return ''
      current_user = stack.top.current_user
      return current_user.get('token', '')