adding methods set_token() save_token() and load_token()