Created functionality to change passwords.