Adding client-side validation back in to sign in/sign up