undo in controller useraccount and commit txt