refactored addparticipants view model and page