An agent is acting within the scope of authority if the agent is engaged in the performance of duties which were expressly or impliedly assigned to the agent by the principal.