Certain block code processes correctly for anonymous user