need to update so joomla session can be used