Created functions for add participant in community.