Started doubleEmail function

It will check if the email is already in the database