refactor, add get parties by userid/partyid