The relation of principal and agent arises wherever one person, expressly or by implication, authorizes another to act for him or subsequently ratifies the acts of another in his behalf.