i need to use a script running behind an interface to authenticate the user and the user can change the passwords.