Working with bcrypt for hashing password