added bcrypt password hashing method