messages seem to be working, not tested throroughly. invites need testing