Added custom 404 error page and the appropriate endpoint