Add email index to users.

When registering, ensure that user doesn't exist already.