added deleteToken to api class