added bcrypt and cli funcs