How to get a list of rooms where the user is logged in?
To get the list of rooms where the user is logged in, not the complete rooms list, you can make a wrapper in Custom Objects: for each user add/delete/store custom objects (in your case these are rooms of your user- member etc).
You just will need to use custom objects with one custom field - e.g. Group ID. And enter the room with this id.