Added 404 page, confirmation page and message flashes