added custom 404 controller and added a custom template to the 404 page