Add unique index to email field of users table in db via new migration file, and alter model to covert email to all lower case.