validate precence of user `uid` attribute. fixes #63