joinRoom() {
    this.state.socket.emit('join room', this.state.room);
    this.setState({inRoom: true});
  }