pswd authentication method