modified app/models/user.rb as Listing 6.30. Added implementation for secure passwords.