Made join and leave organization buttons work