validate duplicate insert user and email