Add database index on email column and require unique index