Unique Constraints in migrations

There should be some unique constraints in the migration, so that we can be sure no user can possibly be duplicated.