Added 404 and fixed post errors.