Fixed bug with logging out from room.