controllers updated.

updated as per new joomla version.
Consider an empty line at the end of the page.