handling validation for additional through configuration

i have just added few function to  adding additional fields to the user table through config,sorry if anything is wrong