wip on friend system
fix CSRF/CSP issues
fix bug to allow unpausing invites
remove cruft
Finish up invite changes