Creating a multiplayer online game room

In my case I try to create a "random player button where the users could play with anyone who created a game without knowing each other… But I m doing something wrong, Can you take a look?