Made some logic for putting roomlist into table