setup 404 functionality.