getExistingUserID helper method