null check for gist user