Add checkLocalUser for localuser table

Copied/modified from checkLocalNames

Change-Id: Icdebe1e668465eda412fc84d918bf0c22775db10