Made user login check if record exists before import