#52 Implemented document delete functionality
#52 Improved access rules for documents