updated invitations form to use autocomplete widget
updated tests for updated invitation form