In Mendix you can have standard buttons like save or cancel, or create your own by using a microflow to do the things you want to do. In your case I think you want to create a microflow that is triggered by your newly created button that changes the password and commits the user.
So choose add button, microflow. Fill the caption, select a possible image and select the microflow that do all the actions you want.
Hope this helps,