add userid and error log in case of 'unlogged' or 'unauthorized' access
in getPath()