Added 404 error page and redirect