handling validation for additional through congiuration

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