Added register validation(whether age is numeric)