Adding invite functionality, also including Ari's testing updates