added unique email index to User model and migrated