login dismiss only if loginnavigationcontroller is presented