Small change to add the password as a parameter