added error checking for existing email address for signup