Mozilla give good examples with building and setting up the Accounts service:
For educational purposes, it appears to be worth a try to show how to provide this alongside the syncstorage and to configure both to talk to each other.
Would there be interest in walking parts of the way together?