Add login validation for duplication access