Added an error controller
Updated composer.lock