fix logout, providers