fix for displaying login screen on ipad
handle canceling login