fixed the sign up form submitting issue