Added a check for testing the email address provided during registration and throwing an error if the email address is already associated with an existing account.