added config and bcrypt replacement