Duplicate email fix

This will make it so that we can check if a user is trying to register with an email address that already exists.