showing spinner when logging out