update npm login method