use login name to verify password