added bcrypt support