revert previous auth check