pulled over conditional paths from node.bcrypt