Why are you making it so complicated by involving states?
Just apply the condition on “Log the user in” step. Make it, Only when: Current user’s User Role is not Cancelled (to prevent the login). <<If this doesn’t work, only then should you attempt searching (getting current user is way faster than searching)
Once you’ve prevented the login, you can then show the user whatever you want later on