minor error checking added to signup