don't show smartdocs to users who don't have them in their library
Merge branch 'bulk_documents' into testing