Added 404 and 505 error pages