I've rewrite the code of online user list.

Now the user can get into the room correctly, their information can be accessed in the rooms they have been in.