fix banning in dashboard (onLogout does not have a response when it's called via API)