Adding PAM authentication