added index and 404 pages