fix chat not auto-starting on page load
add the getAcceptedAssignmentsForInvitation method
add a getPendingAssignments method
handle multiple assignments

Multiple assignments could exist, so change logic to reflect recent changes.