Renamed loggedIn to isAuthenticated

Prevents a clash with persona which uses the same name for local
storage keys