Revert "removed unnecessary custom static handler"

This reverts commit 4fe64e7c7f77e2f5f39a4e2f57592e2b56d414fa.
added 404 page