[api] simplify owner code a bit
[webui] fix owner class method reference