Added client-side validation of user input on signup page