fix logout auth