typo correction
using chpasswd instead of passwd
fixing if statement loop. Adding todo for rm statements