change password and add it to another file