Adding form validation on the sign up page