adding client side validation to create account page