error checking for sign up process