fixed issue caused by guest calling logout function joomla_int plugin