Added endpoint for document preview
Same fix in DocumentController - moved to QueryParams
DocumentService created