add secure library: set_token in the popular way