complete hiddenCode and loginCode