Extract new function userHasPublications()