[feature]roll back DB to make email uniq

Note: before running migrate, should remove the duplicated email
records in DB
[chore]make sure only one email used
[chore]clean code
Merge pull request #117 from peterzd/same_email

Same email