client side sign up error checking