Since the action is setup in useradd, that is used. The reference in the controller is not found, so it is jumping down to the based class. I would have a function called on your click event and then check your record for new/existing record and then redirect to add/edit function from there.