add avatar field to LoginState; add comments to ClearSkies