External invites working.
Need to test multiple invites.
Need to fix logout error.
Commented most functions.
Fixed logout issue.