Delete parties functionality for different users in core data