Added authentication method