started work on permissions and sharing