Finished implementing the invitation preferences system mostly