Solution posted, so...in before the
“Are you logged in?”
I was tempted to say to the first post “You forgot to ask if he was logged in.”