added two users logic and tests