i have this for logout on client-side:
public logout = async (): Promise => { return this.rootStore.AxiosStore.get(\'/users/me/logout\')