WIP: Add feature to add people as partners and view accepted/pending invitations

@chukdisc @cgruppioni

There's a bit of redundancy and potentially unused code; will clean up over the weekend.
woah, this indentation is crazy