API refactoring : vhost_user