more wip updates. send_invites still buggy