refactored pending participant controller and view