added 404 pages

and metrics code