made party type an enum
added recipient party to ui