Corrected userPassword variable issue