Authentication of multi users in a distributed environment