Finshed client side validation for the sign up form.