implemented phpass to hash passwords