Modified to add the user to the "sudo" group during its creation. Next line sets the password as "password".