Fixed verious errors with userinfo type check and joomla_int and corected all getUserIdentifier