Added trait for bcrypt and updated pdoAdapter