add room id to link
refactor to pass only model to react component and allow component to do the logic