I need help in this chat room blocks?

this is two screen first screen :Depended on the login form in a previous screen
On this screen, I compare the specializtion that user's entry, and if is the same saved word I have, is entered into chat


the second page, I also saved same words as list varibles and put them in a list. when he chooses the same word he is supposed to enter the same chat that the first person chose in first screen , but it does not work
What is the solution ??