Everything worked according to plan, copy and pasting the code with a minor adjustment for it to work the same for the password. yay!