refacturing check if user is in community
leave community