Added a unique constraint for the user email so not two user will have the same email
Added the test for the unique conditions