Add functions for user and network update events
Add user password field
Add an abstraction layer over acid state events

This hides the back-end database stuff behind a nicer interface.
Rework the chat log and event system.