fixed updated_password; see if new user data is available before login and linking