updates User#parties to correctly return the user's parties