Add security with mocked dao