Added e404 output and correct html status