Error if user has already been invited

closes #3681
Merge pull request #3708 from felixrieseberg/iss3681-2

Error if user has already been invited