added -ne instead of using (! in password area.