Add login require checking on project document and file plugin.