Add logic for logged-in-state (bug 1103072)

Could do this convention was already used. I think this can be cleaned up later - we're going to want to clean-up a few parts with getting rid of some of the persona-isms so it can be done then.