What method is performed before creating a user?

What method is performed before creating a user,
after he pressed the button “Create New Account”
after checking all validations?

how to use after_commit in plugin ?