TODO: make saving to users.xml and rooms.xml work