docs: def get_auth_user():
      """
      Find auth user
      :return: user object could be a model instance or a dict
      """
      from uliweb import request
      from uliweb import settings
  
      user_fieldname = settings.get_var('AUTH/GET_AUTH_USER_FIELDNAME', 'id')
  
      session_key = _get_auth_key()
      user_id = request.session.get(session_key)
      if user_id:
          if isinstance(user_id, dict):
              return user_id
          else:
              User = get_model('user')
              user = User.get(User.c[user_fieldname]==user_id)
              return user