move chpasswd out of the function we create user account with