adding unique index to email field