Added Invite table and associated logic.