add dialect support

as the methods called are defined I don't think there should be a difference between the way signed in/ out users are treated here. I would expect the app to try detecting visitors as well. Did I miss anything @robguthrie ?