fix bug where ipad did not show login controller after logging out