Adding the action to join the chat