Added email regex and presence validation. Introduced a unique index for email values.