rails generate model User
add test : user model validate
update test : validates email form
update test : validates email uniqueness
update user model : email unique
update Gemfile : bcrypt-ruby gem
update test : password_digest validity
rails generate migration add_password_digest_to_user
update test : password validate