added User Permission Management
Merge branch 'master' of https://github.com/duhlig/bookwriting
finished share and permission functionality
added sharing and permission functionality