Add change_password function to model.