function change_pass successful