have button to join but need to add functionality