accounts and other things
users own documents, add hooks
add offline alert
Merge branch 'accounts'