Add missed fields to the document table
Add method to get the authorized files for the user