changes in Authentication API