changed authentication method