Added 404 page and exception handling