Liability of agent of owner or occupier for whose benefit riot is committed