Added client side validation to create account form.