added action to the action submit button