Added controller and route path to redirect to the 404 page instead of an error message.