Added front-end validation to new registration