Not sure how you are presenting the login view, but you could theoretically check to see if it's already presenting a view controller, and bail early if so. That way, your notification registration stays consistent.