add api token method
Use default value
Remove token code