Fixed a bug with non-logged in visitor