Resolved issue with widgets in controller.php and continued with
authentication.