Add bcrypt-ruby in Gemfile. Add has_user_password line and 2 validates in User model. Add a column password_digest