adding model and migrating it
initial validations
email validations
uniqueness fixed
uniqueness test
adding unique db index for user.email
using a before-save hook for users to lowercase email field
adding user password and tests for it
adding test for lowercase email
better email validation