added bcrypt-ruby gem to the party
added a new migration in the database
modified version of bcrypt-ruby
added test for the validations of the passwords
updated validations in the user model