add bcrypt dependency
add test for bcrypt
add code for validating bcrypt
make code nicer