Added team invitation system, indented