use new version api for login
for login username and password save to local