add deauth to api