made a restriction so that email addresses must be unique for each user (avoids repetition). Did the same for the database so that if a user actually clicks create twice, the database handles this error