How to add a social feature on a game

Hi, I want to create a casual online game. And I want to know how can I add a social feature which consists in:

  1. A person tap the “social button”, a menu appears and there are other people’s room.
  2. They press in the “visit” button and then the person appears on the other’s person room

We have a P2P extension, but I’m not sure that it will allow all that. Check out the wiki, example and tutorials.