Which file validates user data?

Sir i want to understand which file is called user validate email id and enter first name , family name , affialiation , password.